package com.gr.service;

import com.gr.entity.Phone;

import java.util.List;

public interface PhoneService {
    List<Phone> selectAll();
    Phone selectPhoneById(Integer id);
    List<Phone> selectAllPhoneAndBrand();
    int selectPhoneCount();
    void insertPhone(Phone phone);
    void deletePhoneById(Integer id);
    void updatePhone(Phone phone);
}
